#!/usr/bin/env node

//一运行产生二进制文件
const fs = require('fs');

let data = new Uint8Array(256);
let d = 0x00;//16进制

for(let i=0;i<256;i++){
  data[i]=d++;
}
fs.writeFileSync('./test.bin',data,'binary');
